package com.winsdom.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 楼栋信息表
 * </p>
 *
 * @author 
 * @since 2025-05-12
 */
@Data
@TableName("building")
@Accessors(chain = true)
public class Building implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键id")
    private Long id;

    /**
     * 分类ID(楼栋)
     */
    @Schema(description = "分类ID(楼栋)")
    private Long categoryId;

    /**
     * 楼栋/单元名称
     */
    @Schema(description = "楼栋/单元名称")
    private String buildingName;

    /**
     * 项目名称
     */
    @Schema(description = "项目名称")
    private String projectName;

    /**
     * 项目编号
     */
    @Schema(description = "项目编号")
    private String number;

    /**
     * 状态
     */
    @Schema(description = "状态：1-启动 0-停用")
    private Integer status;
}
